package com.example.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.common.b_pojo.Musiccategory;
import com.example.common.utils.Resultb;

import java.util.List;

public interface BMusicCategoryService {

    Page<Musiccategory> alllist(int pageNum, int pageSize);

    Page<Musiccategory> hasdelectlist(int pageNum, int pageSize);

    Musiccategory getcategoryById(Long id);

    List<Musiccategory> getcategoryByName(String categoryName);

    boolean insertcategory(Musiccategory musiccategory);

    boolean updateById(Musiccategory musiccategory);

    boolean startandstopcategory(Long id);

    boolean removeById(Long id);
}
